package com.css.fxfzfxqh.modules.singleIndexRiskZoning.repository;
import com.css.fxfzfxqh.modules.singleIndexRiskZoning.model.entity.*;
import com.css.fxfzfxqh.modules.singleIndexRiskZoning.param.QhSingleExportParam;
import com.css.fxfzfxqh.modules.singleIndexRiskZoning.vo.GdpVO;
import com.css.fxfzfxqh.modules.singleIndexRiskZoning.vo.QhSingleExportVO;

import java.util.List;
import java.util.Map;

public interface EnterAssessQhRepository {

    Map<String, Object> getAssessPage(Map<String, Object> param, int curPage, int pageSize);

    List<Assess> getAssessByParam(Map<String, Object> param);

    int saveFxqhAssessEd(FxqhAssessEdQh entity);
    int saveFxqhAssessEdResult(FxqhAssessEdQhResult entity);

    FxqhAssessEdQh getById(String id);
    List<FxqhAssessEdQhResult> getByFaeId(String faeId);

    int updateFxqhAssessEd(FxqhAssessEdQh entity);

    int delFxqhAssessEdResultByFaeId(String faeId);

    String queryLatest(StringBuilder code);

    void delByTaskId(String taskId,List<String> typeList);

    List<FxqhAssessEdQhResult> getAssessEdQhList(FxqhAssessEdQhResult param, Integer page, Integer rows);

    List<QhSingleExportVO> getByParam(QhSingleExportParam param);

    List<FxqhAssessEdQhResult> getAssessEdQhList(String taskId);

    void save(GdpVO vo);

    void deleteGdpByTaskId(String taskId);

    List<GdpVO> getGdpByTaskId(String taskId);

    GdpVO getGdpByTaskIdAndDistrict(String id, String ppName, String cityName, String name);
}
